Close the frontmost window. To close all windows at once, select this menu item with the Option key held down.